
package com.shangsi;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

/**
 * @author dzd
 * @date 2021-12-19
 */
@EnableFeignClients
@EnableDiscoveryClient
@SpringBootApplication(exclude = DataSourceAutoConfiguration.class)//排除自动配置(当springboot不配置数据源的时候)
public class SeataWebApplication {
    public static void main(String[] args) {
        SpringApplication.run(SeataWebApplication.class,args);
    }
}
